package com.itheima.pinda.entity.fact;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 封装计算订单价格所需的参数
 *
 * @author llhuang10
 * @date 2021/10/12 10:51
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddressRule {

    /**
     * 货品总重量
     */
    private double totalWeight;

    /**
     * 距离
     */
    private double distance;

    /**
     * 续重价格
     */
    private double continuedFee;

    /**
     * 首重
     */
    private double firstWeight;

    /**
     * 首重价格
     */
    private double firstFee;
}
